package com.lanou.mapper.registerdao;

import com.lanou.bean.RegisterResultBean;
import com.lanou.bean.UserBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * Created by dllo on 18/2/26.
 */
@Component
public interface RegisterMapper {

    //该用户名是否注册过
    UserBean hasRegister(@Param("name") String name);

    void registeruser(@Param("name") String name, @Param("password") String password,
                      @Param("tel") String tel, @Param("address") String address);
}
